package com.family.pedigree.service;

import com.family.pedigree.domain.FamilyTreeNode;
import com.baomidou.mybatisplus.extension.service.IService;
import com.family.pedigree.domain.common.FamilyAgeClass;
import com.family.pedigree.domain.common.FamilyCollage;
import com.family.pedigree.domain.common.FamilyMan;
import com.family.pedigree.domain.common.ProvinceNum;

import java.util.List;

/**
 * <p>
 * 家族树节点 服务类
 * </p>
 *
 * @author forever
 * @since 2024-11-24
 */
public interface IFamilyTreeNodeService extends IService<FamilyTreeNode> {

    Long add(FamilyTreeNode treeNode);

    Long edit(FamilyTreeNode treeNode);

    List<?> getList(FamilyTreeNode treeNode);

    void delById(Long nodeId);
    FamilyTreeNode getRelationSix(Long nodeId);
    List<FamilyAgeClass> findAgeClass();

    List<FamilyCollage> findCollage();

    List<ProvinceNum> findProvinceCount();

    FamilyTreeNode queryById(Long nodeId);
}
